Skip to content

[stable32] fix: respect status 0 (DRAFT) when adding new signers#6119

Merged
vitormattos merged 1 commit intostable32from
backport/6117/stable32
Dec 11, 2025
Merged

[stable32] fix: respect status 0 (DRAFT) when adding new signers#6119
vitormattos merged 1 commit intostable32from
backport/6117/stable32

Conversation

@backportbot-libresign
Copy link
Copy Markdown

Backport of PR #6117

When adding a new signer with status 0, the backend was ignoring it
because empty() treated 0 as falsy. Changed to isset() to properly
handle status 0.

Also updated determineInitialStatus() to allow new signers to be
added in DRAFT mode even when the file is not in DRAFT status,
allowing gradual signer addition before requesting signatures.

Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>
@github-project-automation github-project-automation Bot moved this to 0. Needs triage in Roadmap Dec 11, 2025
@backportbot-libresign backportbot-libresign Bot added this to the Next Patch (32) milestone Dec 11, 2025
@vitormattos vitormattos merged commit 8d2ed4d into stable32 Dec 11, 2025
38 of 51 checks passed
@vitormattos vitormattos deleted the backport/6117/stable32 branch December 11, 2025 18:28
@github-project-automation github-project-automation Bot moved this from 0. Needs triage to 4. to release in Roadmap Dec 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

1 participant